package com.richinfo.trace2;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;

/**
* Created by WangXJ
* 2018-11-30 14:47
*/
@EnableDiscoveryClient
@SpringBootApplication
public class TraceApplication {

	private static Logger logger = LoggerFactory.getLogger(TraceApplication.class);
	
	public static void main(String[] args) {

		SpringApplication.run(TraceApplication.class, args);
		
		logger.info("====== TRACE-2 START ======");
	}

}
